package com.java.module.cms.domain;


import com.java.common.lang.annotation.Excel;
import com.java.common.lang.annotation.FileData;
import com.java.common.lang.domain.BaseEntity;

/**
 * 基础：banner图对象 info_banner
 *
 * @author zyz
 * @date 2021-03-22
 */
@FileData
public class Banner extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long bid;

    /**
     * 类型
     */
    @Excel(name = "类型")
    private Integer type;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long px;
    /**
     * 产品名称
     */
    private String productName;
    private String mtitle;
    private String atitle;

    public String getMtitle() {
        return mtitle;
    }

    public void setMtitle(String mtitle) {
        this.mtitle = mtitle;
    }

    public String getAtitle() {
        return atitle;
    }

    public void setAtitle(String atitle) {
        this.atitle = atitle;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 移动端图片
     */
    @Excel(name = "移动端图片")
    @FileData
    private String appPic;

    /**
     * PC端图片
     */
    @Excel(name = "PC端图片")
    @FileData
    private String pcPic;

    /**
     * 链接种类：0无跳转   1跳转外部链接  2跳转产品
     */
    @Excel(name = "链接种类：0无跳转   1跳转外部链接  2跳转产品")
    private Integer pushType;

    /**
     * 链接地址/对应的id
     */
    @Excel(name = "链接地址/对应的id")
    private String link;

    /**
     * 广告图修改次数
     */
    @Excel(name = "广告图修改次数")
    private Integer number;

    /**
     * 删除标志（0默认 1删除）
     */
    private Integer delFlag;


    public Long getBid() {
        return bid;
    }

    public void setBid(Long bid) {
        this.bid = bid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getPx() {
        return px;
    }

    public void setPx(Long px) {
        this.px = px;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAppPic() {
        return appPic;
    }

    public void setAppPic(String appPic) {
        this.appPic = appPic;
    }

    public String getPcPic() {
        return pcPic;
    }

    public void setPcPic(String pcPic) {
        this.pcPic = pcPic;
    }

    public Integer getPushType() {
        return pushType;
    }

    public void setPushType(Integer pushType) {
        this.pushType = pushType;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "Banner{" +
                "bid=" + bid +
                ", type=" + type +
                ", px=" + px +
                ", title='" + title + '\'' +
                ", appPic='" + appPic + '\'' +
                ", pcPic='" + pcPic + '\'' +
                ", pushType=" + pushType +
                ", link='" + link + '\'' +
                ", number=" + number +
                ", delFlag=" + delFlag +
                '}';
    }
}
